package com.mc.cloud.mall.categoryProduct.service;

import com.github.pagehelper.PageInfo;
import com.mc.cloud.mall.categoryProduct.model.pojo.Product;
import com.mc.cloud.mall.categoryProduct.model.vo.ProductList;

/**
 * @ClassName UserProductService
 * @Author MC
 * @Date 2020/11/5 17:40
 * @Version 1.0
 **/
public interface UserProductService {
    Product productDetail(Integer id);
    
    PageInfo list(ProductList productList);
    
    void updateProductForFeign(Integer productId, Integer stock);
}
